%lsmagic
%automagic ON
d = {'US': 'USA', 'FR': 'France'}
res = 1 + 2
print(d)
res
%page d
%pinfo d
a = 1; b = 2; test = 'Test'; test2 = 'Test2'
%who
%who_ls
%whos
%reset_selective c
%reset_selective -f b
%reset
%reset -f
%whos
import time
start = time.time()
for i in range(1000000):
pass
time.time() - start
%%time
for i in range(1000000):
pass
%%timeit
for i in range(1000000):
pass
%%html
<table class="table">
<thead>
<tr>
<th scope="col">#</th>
<th scope="col">First</th>
<th scope="col">Last</th>
<th scope="col">Handle</th>
</tr>
</thead>
<tbody>
<tr>
<th scope="row">1</th>
<td>Mark</td>
<td>Otto</td>
<td>@mdo</td>
</tr>
<tr>
<th scope="row">2</th>
<td>Jacob</td>
<td>Thornton</td>
<td>@fat</td>
</tr>
<tr>
<th scope="row">3</th>
<td>Larry</td>
<td>the Bird</td>
<td>@twitter</td>
</tr>
</tbody>
</table>
%%html
<div class="embed-responsive embed-responsive-16by9">
<iframe class="embed-responsive-item" src="https://www.youtube.com/embed/zpOULjyy-n8?rel=0" allowfullscreen></iframe>
</div>
# %%js
# alert('Hi')